qui pro quo

literally qui instead of quo (medieval Latin)

Notes

Unused in English, but common in other modern languages (for instance Italian, Polish and French). Used as a noun, indicates a misunderstanding.